package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/08
*/
@Data
@Table(name = "tbl_audit_trail")
@NoArgsConstructor
@AllArgsConstructor
public class TblAuditTrail extends BaseEntity {
    @Column(name = "obj_id")
    private String objId;

    @Column(name = "obj_sub_id")
    private String objSubId;

    @Column(name = "table_name")
    private String tableName;

    /**
     * INSERT 0,UPDATE 1,DELETE 2,Login 3,login out 4,update status 5
     */
    private Integer action;

    @Column(name = "json_info")
    private String jsonInfo;

    private String ip;

    @Column(name = "system_info")
    private String systemInfo;
}